/**
 * 检查是否在app内部
 * @param userAgent
 * @returns {boolean}
 */
function checkApp(userAgent,enable) {
    //不用检查直接跳过
    if(enable == 1)
        return true
    var ua = navigator.userAgent;
    var unAppPopup = $('body').find('#j-to-download');
    //不在app内部时，点赞提示弹窗
    if(ua.indexOf(userAgent) > -1){
        return true;
    }else {
        unAppPopup.removeClass('hide');
        return false;
    }
}